gh-149464: Support os.pidfd_getfd(pidfd, targetfd, flags=0) syscall#149465
Conversation
os.pidfd_getfdos.pidfd_getfd(pidfd, targetfd, flags=0)
|
cc @vstinner |
os.pidfd_getfd(pidfd, targetfd, flags=0)os.pidfd_getfd(pidfd, targetfd, flags=0) syscall
Documentation build overview
73 files changed ·
|
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
vstinner
left a comment
There was a problem hiding this comment.
LGTM. I just suggested adding another test.
@vstinner Thank you. Could you clarify what test? Calling without a flag already: |
Oh I'm sorry, my comment was still a draft, I forgot to post it: "Please add also a test on an invalid file descriptor" |
vstinner
left a comment
There was a problem hiding this comment.
Oh, I missed the fact that What's New in Python 3.16 is not updated.
|
PR merged, thanks for your contribution! It's an interesting function! It looks way easier to use than the existing |
|
It's an unrelated failure: #148255 (comment). |
Closes #149464
os.pidfd_getfd(pidfd, targetfd, flags=0)function #149464